WP_Syntex\Polylang\Model\Languages D

Total Complexity 132
Dependencies 8
Dependents 7
Total lines 1,165
Lines of code 484
Logical lines of code 275
Comment lines 500
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
update()
B
38 18 65
delete()
B
41 16 50
update_translations()
A
37 13 82
validate_lang()
A
48 15 27
get_list()
A
44 13 46
update_secondary_language_terms()
A
53 9 20
update_default()
S
53 6 22
get()
S
54 6 22
build_metas()
S
54 6 20
filter_terms_orderby()
S
60 6 13
add()
S
51 4 27
get_from_taxonomies()
S
52 4 25
maybe_create_terms()
S
54 4 22
get_terms()
S
59 3 13
has()
S
66 3 9
get_default()
S
71 2 6
clean_cache()
S
77 1 4
set_ready()
S
81 1 3
are_ready()
S
82 1 3
__construct()
S
74 1 5